<?

$x= "abc/* aadfasdfas dfasdfwqer24352345 2345234532453245 */def";

echo preg_replace('/\\/\\*.*\\*\\//',"go",$x);




?>